home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update18.zoo / pml / diffs
Encoding:
Text File  |  1992-03-22  |  4.7 KB  |  216 lines

  1. *** 1.13    1992/03/06 19:34:30
  2. --- Changelog    1992/03/23 01:43:11
  3. ***************
  4. *** 268,270 ****
  5. --- 268,281 ----
  6.       fixed nasty arg passing bug in the sfp code.
  7.   
  8.   ---------------------------- Patchlevel 16 ------------------------------
  9. + log.c:: ++jrb
  10. +     make adjustments for GCC_HACK and gcc 2.0
  11. + cexp.c clog.c csqrt.c mod.c sinh.c :: Michael
  12. +     fixes to save FP reggies.
  13. + math.h:: ++jrb
  14. +     dont proto clog() for g++, it clashes with clog stream.
  15. + ---------------------------- Patchlevel 17 ------------------------------
  16. *** 1.13    1992/03/06 19:34:30
  17. --- PatchLevel.h    1992/03/23 01:43:11
  18. ***************
  19. *** 1,5 ****
  20.   /*
  21. !  *    PatchLevel: 16
  22.    *
  23.    *    the Patch Level above is to identify the version
  24.    *    of the all the files in this directory. given the above
  25. --- 1,5 ----
  26.   /*
  27. !  *    PatchLevel: 17
  28.    *
  29.    *    the Patch Level above is to identify the version
  30.    *    of the all the files in this directory. given the above
  31. *** 1.4    1992/02/03 20:19:23
  32. --- cexp.c    1992/03/23 01:43:15
  33. ***************
  34. *** 100,108 ****
  35.       .even
  36.       .globl _cexp
  37.   _cexp:
  38.       movel    a1,d0        | save a1 as return value
  39. !     fetoxd    a7@(4),fp0    | exp( z.real )
  40. !     fmoved    a7@(12),fp2
  41.       fcosx    fp2,fp1
  42.       fsinx    fp2,fp2
  43.       fmulx    fp0,fp1        |
  44. --- 100,109 ----
  45.       .even
  46.       .globl _cexp
  47.   _cexp:
  48. +     fmovex    fp2,sp@-    | 12 Bytes
  49.       movel    a1,d0        | save a1 as return value
  50. !     fetoxd    a7@(16),fp0    | exp( z.real )
  51. !     fmoved    a7@(24),fp2
  52.       fcosx    fp2,fp1
  53.       fsinx    fp2,fp2
  54.       fmulx    fp0,fp1        |
  55. ***************
  56. *** 109,114 ****
  57. --- 110,116 ----
  58.       fmulx    fp0,fp2        |
  59.       fmoved    fp1,a1@        | fetch result.real
  60.       fmoved    fp2,a1@(8)    | fetch result.imag
  61. +     fmovex    sp@+,fp2
  62.   ");    /* end asm    */
  63.   #endif    __M68881__
  64.   
  65. *** 1.5    1992/02/03 20:19:23
  66. --- clog.c    1992/03/23 01:43:15
  67. ***************
  68. *** 62,71 ****
  69.    *
  70.    */
  71.   
  72. - #if defined (__M68881__) && !defined (_M68881)
  73. - /*# define _M68881*/
  74. - #endif
  75.   #include <stdio.h>
  76.   #include <math.h>
  77.   #include "pml.h"
  78. --- 62,67 ----
  79. *** 1.4    1992/02/03 20:19:23
  80. --- csqrt.c    1992/03/23 01:43:16
  81. ***************
  82. *** 81,90 ****
  83.    *
  84.    */
  85.   
  86. - #if defined (__M68881__) && !defined (_M68881)
  87. - /*# define _M68881*/
  88. - #endif
  89.   #include <stdio.h>
  90.   #include <math.h>
  91.   #include "pml.h"
  92. --- 81,86 ----
  93. *** 1.6    1992/02/04 16:42:12
  94. --- log.c    1992/03/23 01:43:18
  95. ***************
  96. *** 197,203 ****
  97.   _log10:");
  98.   #ifdef __MSHORT__
  99.   __asm__("
  100. !     link a6,#-24
  101.       moveml #0x3e30,sp@-");
  102.   #else
  103.   __asm__("
  104. --- 197,203 ----
  105.   _log10:");
  106.   #ifdef __MSHORT__
  107.   __asm__("
  108. !     link a6,#-32
  109.       moveml #0x3e30,sp@-");
  110.   #else
  111.   __asm__("
  112. ***************
  113. *** 205,212 ****
  114.       moveml #0x3f30,sp@-");
  115.   #endif  /* __MSHORT__ */
  116.   __asm__("
  117. !     movel a6@(8),d2
  118. !     movel a6@(12),d3
  119.       moveq #1,d6
  120.       jra   lgentry");
  121.   #endif  /* __GCC_HACK__ */
  122. --- 205,212 ----
  123.       moveml #0x3f30,sp@-");
  124.   #endif  /* __MSHORT__ */
  125.   __asm__("
  126. !     movel a6@(8),d4
  127. !     movel a6@(12),d5
  128.       moveq #1,d6
  129.       jra   lgentry");
  130.   #endif  /* __GCC_HACK__ */
  131. *** 1.1    1992/02/03 20:19:23
  132. --- makefile.pml    1992/03/23 01:43:18
  133. ***************
  134. *** 70,76 ****
  135.   
  136.   DEFINE    := -DIEEE -Datarist 
  137.   OPT    := -O
  138. ! OFLAGS    := -fomit-frame-pointer -fcombine-regs -fstrength-reduce 
  139.   OUTLIB    := pml.olb
  140.   
  141.   CFLAGS    := $(OPT) $(OFLAGS) $(XFLAGS) $(DEFINE) -I.
  142. --- 70,76 ----
  143.   
  144.   DEFINE    := -DIEEE -Datarist 
  145.   OPT    := -O
  146. ! OFLAGS    := -fomit-frame-pointer -fstrength-reduce 
  147.   OUTLIB    := pml.olb
  148.   
  149.   CFLAGS    := $(OPT) $(OFLAGS) $(XFLAGS) $(DEFINE) -I.
  150. *** 1.11    1992/01/14 19:37:50
  151. --- math.h    1992/03/23 01:43:18
  152. ***************
  153. *** 135,141 ****
  154. --- 135,143 ----
  155.   __EXTERN double cabs    __PROTO((COMPLEX));
  156.   __EXTERN COMPLEX cmult    __PROTO((COMPLEX, COMPLEX));
  157.   __EXTERN COMPLEX csqrt    __PROTO((COMPLEX));
  158. + #ifndef __GNUG__
  159.   __EXTERN COMPLEX clog    __PROTO((COMPLEX));
  160. + #endif
  161.   __EXTERN COMPLEX cacos    __PROTO((COMPLEX));
  162.   __EXTERN COMPLEX cadd    __PROTO((COMPLEX,COMPLEX));
  163.   __EXTERN COMPLEX casin    __PROTO((COMPLEX));
  164. *** 1.5    1992/02/03 20:19:23
  165. --- mod.c    1992/03/23 01:43:19
  166. ***************
  167. *** 134,143 ****
  168.   #ifdef    __M68881__
  169.   
  170.       __asm("
  171. !     fmoved    a7@(4), fp0    | value
  172. !     fmodd    a7@(12),fp0    | base
  173.       fmoved    fp0,a7@-    | push result
  174.       moveml    a7@+,d0-d1    | return_value
  175.       ");    /* end asm    */
  176.   
  177.   #endif    __M68881__
  178. --- 134,145 ----
  179.   #ifdef    __M68881__
  180.   
  181.       __asm("
  182. !     fmovex    fp0,sp@-    | 12 Bytes
  183. !     fmoved    a7@(16), fp0    | value
  184. !     fmodd    a7@(24),fp0    | base
  185.       fmoved    fp0,a7@-    | push result
  186.       moveml    a7@+,d0-d1    | return_value
  187. +     fmovex    sp@+,fp0
  188.       ");    /* end asm    */
  189.   
  190.   #endif    __M68881__
  191. *** 1.4    1992/02/03 20:19:23
  192. --- sinh.c    1992/03/23 01:43:20
  193. ***************
  194. *** 168,174 ****
  195.       fsinhd    a7@(4), fp0    | sinh
  196.       fmoved    fp0,a7@-    | push result
  197.       moveml    a7@+,d0-d1    | return_value
  198. !     ");    /* end asm    */
  199.   
  200.   #endif    __M68881__
  201.   #ifdef    sfp004
  202. --- 168,174 ----
  203.       fsinhd    a7@(4), fp0    | sinh
  204.       fmoved    fp0,a7@-    | push result
  205.       moveml    a7@+,d0-d1    | return_value
  206. ! ");    /* end asm    */
  207.   
  208.   #endif    __M68881__
  209.   #ifdef    sfp004
  210.